package com.xiaoyang.forum.mapper;

import com.xiaoyang.forum.domain.pojo.Board;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiaoyang.forum.domain.vo.BoardVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: XiaoYang
 * @CreateTime: 2025-08-10
 * @Description: 版块Mapper
 */
@Mapper
public interface BoardMapper extends BaseMapper<Board> {

    List<BoardVO> selectByNum(@Param("num") Integer num);
}
